package com.bdqn.zhang.pojo;


import java.util.List;

public class NewsEntity {
    /**
     * reason : 成功的返回
     * result : {"stat":"1","data":[{"uniquekey":"3242a278cee85234fb04cc0fe98600eb","title":"邮储银行：战\u201c疫\u201d时刻 全力强化消费者权益保护","date":"2020-02-17 20:20","category":"头条","author_name":"投资者网","url":"http://mini.eastday.com/mobile/200217202027886.html","thumbnail_pic_s":"http://03imgmini.eastday.com/mobile/20200217/20200217202027_70221d07e593b0fa1f1fd0651a55f116_1_mwpm_03200403.jpg","thumbnail_pic_s02":"http://03imgmini.eastday.com/mobile/20200217/20200217202027_70221d07e593b0fa1f1fd0651a55f116_2_mwpm_03200403.jpg"}]}
     * error_code : 0
     */

    private String reason;
    private ResultBean result;
    private int error_code;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public static class ResultBean {
        /**
         * stat : 1
         * data : [{"uniquekey":"3242a278cee85234fb04cc0fe98600eb","title":"邮储银行：战\u201c疫\u201d时刻 全力强化消费者权益保护","date":"2020-02-17 20:20","category":"头条","author_name":"投资者网","url":"http://mini.eastday.com/mobile/200217202027886.html","thumbnail_pic_s":"http://03imgmini.eastday.com/mobile/20200217/20200217202027_70221d07e593b0fa1f1fd0651a55f116_1_mwpm_03200403.jpg","thumbnail_pic_s02":"http://03imgmini.eastday.com/mobile/20200217/20200217202027_70221d07e593b0fa1f1fd0651a55f116_2_mwpm_03200403.jpg"}]
         */

        private String stat;
        private List<DataBean> data;

        public String getStat() {
            return stat;
        }

        public void setStat(String stat) {
            this.stat = stat;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * uniquekey : 3242a278cee85234fb04cc0fe98600eb
             * title : 邮储银行：战“疫”时刻 全力强化消费者权益保护
             * date : 2020-02-17 20:20
             * category : 头条
             * author_name : 投资者网
             * url : http://mini.eastday.com/mobile/200217202027886.html
             * thumbnail_pic_s : http://03imgmini.eastday.com/mobile/20200217/20200217202027_70221d07e593b0fa1f1fd0651a55f116_1_mwpm_03200403.jpg
             * thumbnail_pic_s02 : http://03imgmini.eastday.com/mobile/20200217/20200217202027_70221d07e593b0fa1f1fd0651a55f116_2_mwpm_03200403.jpg
             */

            private String uniquekey;
            private String title;
            private String date;
            private String category;
            private String author_name;
            private String url;
            private String thumbnail_pic_s;
            private String thumbnail_pic_s02;

            public String getUniquekey() {
                return uniquekey;
            }

            public void setUniquekey(String uniquekey) {
                this.uniquekey = uniquekey;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getAuthor_name() {
                return author_name;
            }

            public void setAuthor_name(String author_name) {
                this.author_name = author_name;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getThumbnail_pic_s() {
                return thumbnail_pic_s;
            }

            public void setThumbnail_pic_s(String thumbnail_pic_s) {
                this.thumbnail_pic_s = thumbnail_pic_s;
            }

            public String getThumbnail_pic_s02() {
                return thumbnail_pic_s02;
            }

            public void setThumbnail_pic_s02(String thumbnail_pic_s02) {
                this.thumbnail_pic_s02 = thumbnail_pic_s02;
            }
        }
    }


//    private String uniquekey;
//    private String title;
//    private Date date;
//    private String category;
//    private String author_name;
//    private String url;
//    private String thumbnail_pic_s;
//    private String thumbnail_pic_s02;
//
//
//    public String getUniquekey() {
//        return uniquekey;
//    }
//
//    public void setUniquekey(String uniquekey) {
//        this.uniquekey = uniquekey;
//    }
//
//    public String getTitle() {
//        return title;
//    }
//
//    public void setTitle(String title) {
//        this.title = title;
//    }
//
//    public Date getDate() {
//        return date;
//    }
//
//    public void setDate(Date date) {
//        this.date = date;
//    }
//
//    public String getCategory() {
//        return category;
//    }
//
//    public void setCategory(String category) {
//        this.category = category;
//    }
//
//    public String getAuthor_name() {
//        return author_name;
//    }
//
//    public void setAuthor_name(String author_name) {
//        this.author_name = author_name;
//    }
//
//    public String getUrl() {
//        return url;
//    }
//
//    public void setUrl(String url) {
//        this.url = url;
//    }
//
//    public String getThumbnail_pic_s() {
//        return thumbnail_pic_s;
//    }
//
//    public void setThumbnail_pic_s(String thumbnail_pic_s) {
//        this.thumbnail_pic_s = thumbnail_pic_s;
//    }
//
//    public String getThumbnail_pic_s02() {
//        return thumbnail_pic_s02;
//    }
//
//    public void setThumbnail_pic_s02(String thumbnail_pic_s02) {
//        this.thumbnail_pic_s02 = thumbnail_pic_s02;
//    }
}
